<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'right.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script type="text/javascript">
		function displayGraph(){
			window.showModalDialog('/jsp/display.jsp','实时曲线图','dialogWidth=900;dialogHeight=500'); 
		}
	</script>
  </head>
  
  <body>
  	  <form action="" method="post">
  	    <table align="center">
  	   		<tr>
  				<td><img src="/img/PC.jpg"></td>
  				
  			</tr>
  			<tr>
  				<td>ID:</td>
  				<td>${pc_info.pc_id}</td>
  			</tr>
  			<tr>
  				<td>IP:</td>
  				<td>${pc_info.ip}</td>
  			</tr>
  			<c:forEach var="resp" items="${pc_info.monitor_TypeList}">
  				<tr>
  					<td>${resp.monitor_name}</td>
  					<td>${resp.variable}</td>
  				<tr>
  			</c:forEach>
  		</table>
  	</form>
  </body>
</html>
